<template>
    <div class="analysis-maintain">
        <div class="tab-box">
            <div class="item">
                <i class="icon-ziliao"></i>
                <span>保养统计</span>
            </div>
        </div>
        <div class="con-box">
            <analysis-echarts/>
        </div>
    </div>
</template>
<script>
    import IconTitle from "@/components/icon-title/index.vue";
    import analysisEcharts from './analysisEcharts.vue'
    export default {
        name: "statistics",
        components: {
            IconTitle,
            analysisEcharts,
        },

        data() {
            return {
            };
        },
        created() {

        },
        mounted() {},
        methods: {
        },
    };
</script>
<style lang="scss" >
    @import "@/styles/color.scss";
    .analysis-maintain {
        width: 100%;
        margin-bottom: 50px;
        .tab-box {
            width: 100%;
            background: #fff;
            padding: 10px 15px;
            height: 55px;
            box-sizing: border-box;
            display: flex;
            border-radius: 4px;
            position: fixed;
            top: 115px;
            z-index: 10;
            .item {
                padding: 3px 5px;
                cursor: pointer;
                margin-right: 30px;
                border-radius: 4px;
                color: #666;
                display: flex;
                align-items: center;
                font-size: 15px;
                i {
                    margin-right: 5px;
                }
            }
            .item.active {
                background: $theme;
                color: #fff;
            }
        }
        .con-box {
            margin-top: 65px;
            width: 100%;
            //各个组件公共样式
            .table-box {
                margin-top: 10px;
                background: #fff;
                padding: 10px 15px;
                border-radius: 4px;
                box-sizing: border-box;
                .echarts-box {
                    width: 100%;
                    margin-top: 10px;
                    .echarts-item {
                        padding: 10px 15px;
                        background: #fff;
                        height: 360px;
                        box-shadow: 0px 0px 7px 0px #eff2f5;
                        .item-title {
                            display: flex;
                            align-items: center;
                            i {
                                color: #c9c184;
                                margin-right: 5px;
                            }
                            span {
                                font-size: 14px;
                                font-weight: bold;
                                color: #777777;
                            }
                            p {
                                margin-left: 10px;
                                padding: 0 5px;
                                border: 1px solid #ccc;
                                border-radius: 15px;
                                font-weight: bold;
                            }
                        }
                    };
                    .echarts-des {
                        height: 180px;
                        .nowfinishedstatus{
                            padding-top: 26px;
                            font-size: 16px;
                            font-weight: bold;
                            .uint{
                                color: #AEAEAE ;
                            }
                        }
                        .historyStatus{
                            padding-top: 26px;
                            font-size: 16px;
                            .year{
                                p:nth-child(2){
                                    color: #7C90C2;
                                    margin-top: 7px;
                                    font-size: 24px;
                                    font-weight: bold;
                                    .uint{
                                        color: #AEAEAE ;
                                        font-size: 16px;
                                    }
                                }
                            }
                            .total{
                                p:nth-child(2){
                                    color: #676767;
                                    font-size: 24px;
                                    margin-top: 7px;
                                    font-weight: bold;
                                    .uint{
                                        color: #AEAEAE ;
                                        font-size: 16px;
                                    }
                                }
                            }
                        }
                    }
                }
                .el-table {
                    margin-top: 10px;
                }
            }
            .box-card {
                margin-top: 10px;
                .btn-box {
                    margin-bottom: 20px;
                }
            }
        }
    }
</style>
